-- GENERATED SPELL FOR [Land Walker] --


function spell0_5357(pUnit, Event) --@Boulder,n/a--
pUnit:FullCastSpellOnTarget(23391,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5357', 2000, 1)
end

function Sorts_5357(pUnit, Event)
local choix_sorts_5357 = math.random(0, 0)
if choix_sorts_5357 == 0 then
pUnit:RegisterEvent('spell0_5357', 1, 1)
end
end

function mob5357_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5357', math.random(1500, 3000), 1)
end

function mob5357_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5357_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5357_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5357, 1, 'mob5357_Action')
RegisterUnitEvent(5357, 2, 'mob5357_Leave')
RegisterUnitEvent(5357, 3, 'mob5357_Kill')
RegisterUnitEvent(5357, 4, 'mob5357_Die')
